<script setup lang="ts">
import moment from 'moment'

const props = defineProps<{ id: string }>()
</script>

<template>
    <div class="photo">
        <img :src="`/assets/photos/${id}.png?${moment().format('YYYYMMDD')}`" />
    </div>
</template>

<style scoped>
.photo {
    background-color: gray;
    height: 380px;
    overflow: hidden;
}
img {
    width: 100%;
}
</style>